package book.dao;

import book.entity.tushu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface tushuDao extends CommonDao<tushu> {

    void updaZT(int id);

    int updatereturn(@Param("ts_id") int ts_id);
    int updateborrow(@Param("ts_id") int ts_id);

    void updatushu(tushu t);

    List<tushu> getByPage2(@Param("offset") int offset,@Param("limit") int limit,@Param("tushu") tushu condition);

    void updatezt(@Param("ts_id") int ts_id);

    int getCount2(@Param("tushu") tushu tushu);

    List<tushu> tongji();
}
